#ifndef CONTROLLAYER_H_
#define CONTROLLAYER_H_

#include "cocos2d.h"
#include "SneakyJoystick.h"
#include "SneakyButton.h"
#include "SneakyButtonSkinnedBase.h"
#include "SneakyJoystickSkinnedBase.h"

using namespace cocos2d;

class ControlLayer : public CCLayer{
public:
	virtual bool init();
	void initJoystickAndButtons();

	static ControlLayer* node();
	CREATE_FUNC(ControlLayer);
	SneakyJoystick *leftJoystick;
	SneakyButton *jumpButton;

};

#endif /* CONTROLLAYER_H_ */
